<?php

class m120402_211012_create_author_table extends CDbMigration {
	const TABLE_NAME = 'tbl_author';
//------------------------------------------------------------------------
	
	public function safeUp(){
			
		$this->createTable( self::TABLE_NAME, array(
			'id' => 'pk',
			'name' => 'string',
			'url' => 'string',
			'last_name' => 'string',
		) );

	}
	

	public function safeDown(){
		$this->dropTable( self::TABLE_NAME );
	}
}
